package com.ruoyi.project.module.type.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.framework.web.domain.BaseEntity;

/**
 * 电影类别表 movie_type
 * 
 * @author frey
 * @date 2018-09-28
 */
public class Type extends BaseEntity
{
	private static final long serialVersionUID = 1L;
	
	/**  */
	private Integer id;
	/** 类型中文名 */
	private String type;
	/** 类型code */
	private Integer typeNum;

	public void setId(Integer id) 
	{
		this.id = id;
	}

	public Integer getId() 
	{
		return id;
	}
	public void setType(String type) 
	{
		this.type = type;
	}

	public String getType() 
	{
		return type;
	}
	public void setTypeNum(Integer typeNum) 
	{
		this.typeNum = typeNum;
	}

	public Integer getTypeNum() 
	{
		return typeNum;
	}

    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("type", getType())
            .append("typeNum", getTypeNum())
            .toString();
    }
}
